28  Assessment One - Briefing

28.1 Introduction

This assessment involves implementing a sequence of preparatory and analytical tasks on a dataset.

The tasks will be drawn from the list of processes that have been covered during the first part of the B1700 module.

The tasks will therefore include some of the following list:

  • loading libraries that are required for your script to run (for example, ggplot2)

  • importing data from different file formats, including .csv and .xls

  • creating a dataframe from an imported file

  • creating a markdown document in R

  • making sure that your code is commented appropriately

  • renaming variables in the dataset

  • changing data types in R (e.g., from character to integer)

  • creating a new variable based on an operation carried out on existing variables

  • dealing with missing data by removing rows that contain missing data

  • removing specific variables from the dataset

  • identifying outliers in the dataset, and dealing with these appropriately

  • calculating and printing descriptive statistics (mean, median, min, max, SD) for specific variables in the dataset

  • creating histograms for specific variables

  • creating boxplots for specific variables, and being able to create boxplots for different groups

  • creating a heatmap of three variables in the dataset

  • creating a scatter plot of two variables in the dataset, and adding a linear regression line to this scatter plot

28.2 Process

  • The assessment will take place over a two-hour period on Friday 27th October 2023. The task will open on myplace at 10:00 and the submission link (where you upload your assessment) will close at 12:00.

  • You will be provided with a series of tasks to complete. These include some (not all) of the tasks listed above.

  • You will begin by creating a blank script. The first task involves creating a dataframe by importing a dataset.

  • You will then work through each task by adding code to your script that satisfactorily addresses the task. You should also comment on your code to explain what you are doing.

  • When you are happy that your script completes all the tasks satisfactorily, you will be asked to create a markdown document that reports your script and its output (an example of this will be provided).

  • The markdown document will have a title that is your student registration number. Your name should not appear on the markdown document.

  • The markdown document should be uploaded to myplace no later than the end of the assessment period (i.e. 12pm).